package com.xxx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.*;

/**
 * <p>
 * 社区信息表
 * </p>
 *
 * @author xxx
 * @since 2024-11-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = false)
public class Communities implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "communityId", type = IdType.AUTO)
    private Integer communityId;

    /**
     * 社区名
     */
    private String communityName;

    /**
     * 社区描述
     */
    private String communityDescription;

    /**
     * 社区位置
     */
    private String communityLocation;

    private LocalDateTime createTime;

    /**
     * 0-未删除 1-已删除
     */
    @TableLogic
    private Integer isDeleted;


}
